package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合作商提货申请表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_merchants_pickup")
@ApiModel(value = "XhMerchantsPickup对象", description = "合作商提货申请表")
public class XhMerchantsPickup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("提货单号")
    private String orderNo;

    @ApiModelProperty("关联合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("电池总数")
    private Integer batteryNumber;

    @ApiModelProperty("提货申请状态1-商户处理，2-商户已发货，10-城市仓处理，11-城市仓已发货，20-工厂处理，21-工厂已发货，3-已签收，0-废弃")
    private Integer status;

    @ApiModelProperty("进入当前状态时间")
    private Date statusTime;

    @ApiModelProperty("联系人(可自动填充，可修改）")
    private String contactName;

    @ApiModelProperty("联系电话(可自动填充，可修改）")
    private String contactPhone;

    @ApiModelProperty("收货地址(可自动填充，可修改）")
    private String contactAddress;

    @ApiModelProperty("废弃时间")
    private Date cancelTime;

    @ApiModelProperty("废弃人")
    private Integer cancelUserId;

    @ApiModelProperty("废弃人名称")
    private String cancelUserName;

    @ApiModelProperty("废弃原因备注")
    private String cancelRemark;

    @ApiModelProperty("单据备注")
    private String remark;

    @ApiModelProperty("创建人ID")
    private Integer createUserId;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
